import config from '../../utils/config';
import apiCreator from '../../utils/apiCreator';

const api = apiCreator();

export default {
  //获取真实交易流水
  queryTableListReal: (query) => api.get(`${config.interfaces.type1}assetSplitRealTradeFlow/getTradeListByDate`, query),
  //获取拆分后交易流水
  queryTableListAdjust: (query) => api.get(`${config.interfaces.type1}assetSplitRealTradeFlow/getSplitTradeListByDate`, query),
  //获取系列产品持仓
  queryHoldList: (query) => api.post(`${config.interfaces.type1}assetSplit/asset-split-product-basic-info/getListAssetByDate`, query),
  //获取真实持仓
  queryHoldListReal: (query) => api.post(`${config.interfaces.type1}assetSplit/asset-split-product-basic-info/getProductByDate`, query),
  //获取资产的真实持仓
  queryHoldListRealByAid: (query) => api.post(`${config.interfaces.type1}assetSplit/asset-split-product-basic-info/getProductByAid`, query),
};
